package com.cdc.dragger11;

import javax.inject.Singleton;

import com.cdc.dragger11.Main10;
import com.cdc.dragger11.UserModule;

import dagger.Component;
/**
 * 与com.cdc.dragger7中在UserModule添加注解效果一样
 * @author cdc
 *
 */
//因为UserModule中的ApiService加上了SingleTon，所以这里也要加上SingleTon
@Singleton
@Component(modules= {UserModule.class})
public interface UserComponet {
	void inject(Main10 main);

}
